package com.wasion.pwportable.protocol.p2;

/**
 * 
 * @ClassName: ProtocolEnum
 * @Description: 规约枚举
 * @author 高意
 * @date Apr 14, 2016 5:31:11 PM
 * 
 */
public interface ProtocolEnum {
	/**
	 * 
	 * @ClassName: TypeEnum
	 * @Description: 规约类型枚举
	 * @author 高意
	 * @date Apr 14, 2016 5:30:54 PM
	 * 
	 */
	public enum TypeEnum {

		IEC_101(101), // 
		IEC_104(104); // 

		// 成员变量，枚举索引
		private int index;

		// 构造方法
		private TypeEnum(int index) {
			this.index = index;
		}

		// get set 方法

		public int getIndex() {
			return index;
		}

		public void setIndex(int index) {
			this.index = index;
		}
	}
}
